package com.weichen.studentgameexchange.game.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.weichen.studentgameexchange.common.common.Result;
import com.weichen.studentgameexchange.game.entity.Genre;
import com.baomidou.mybatisplus.extension.service.IService;
import com.weichen.studentgameexchange.game.entity.vo.GenreVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 惟尘
 * @since 2025-02-01
 */
public interface IGenreService extends IService<Genre> {

    Result adminAdd(Genre genre);

    Page<Genre> adminPage(String keyword, Integer page, Integer size);

    Result adminUpdate(GenreVo genrevo);

    void adminDeleteOne(Long genreId);

    Result adminSelectOneUpdate(Long genreId);

    Result userPage(Long gnreId, Integer page, Integer size);
}
